package com.twetec.cms.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.twetec.cms.model.po.system.RolePO;
import com.twetec.cms.model.vo.system.RoleVO;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author zhxl
 * @since 2020-10-12
 */
public interface RoleService extends IService<RolePO> {

    RoleVO getByUnionRoleId(Long unionRoleId);

    boolean create(Long unionRoleId, String name);

    boolean updateByUnionRoleId(Long unionRoleId, String name);
}
